package com.psm.model;

import java.util.List;

import com.jfinal.plugin.activerecord.Db;
import com.jfinal.plugin.activerecord.Model;
import com.jfinal.plugin.activerecord.Record;

public class PuPosts extends Model<PuPosts>{
	
	public static String tableName="pu_posts";

    public static final PuPosts me = new PuPosts();
    
    public List<Record> getposts(){
    	List<Record> r = Db.find("");
    	return r;
    }

}
